<template>
  <div @click="$emit('certClick')">
    <img class="certImgView" :src="data.pic"/>
    <p class="ellipsis2 nameLabel">{{data.title}}</p>

  </div>
</template>

<script>
  export default {
    name: "CertCell",
    props: ["data"],

  }
</script>

<style scoped>
  .certImgView {
    width: 100%;
  }
  .nameLabel {
    margin-top: 4px;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
  }
</style>
